package cn.anecansaitin.jep.parser.ast.node.expression;

import cn.anecansaitin.jep.types.TypeInfo;

public final class Member extends Expression {
    private final Expression object;
    private final Identifier member;

    public Member(Expression object, Identifier member, TypeInfo resultType, int line, int column) {
        super(resultType, line, column);
        this.object = object;
        this.member = member;
    }

    public Expression object() {
        return object;
    }

    public Identifier member() {
        return member;
    }
}